//
//  SettingCell.m
//  cityCar
//
//  Created by 刘伟 on 14-11-5.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SettingCell.h"

@implementation SettingCell

- (void)dealloc
{
    [_myImageView release];
    [_label release];
    [_label1 release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.myImageView = [[UIImageView alloc] init];
        self.label = [[UILabel alloc] init];
        self.label1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.myImageView];
        [self.contentView addSubview:self.label];
        [self.contentView addSubview:self.label1];
        [_myImageView release];
        [_label release];
        [_label1 release];
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.myImageView.frame = CGRectMake(20, 15, 20, 20);
    self.label.frame = CGRectMake(50, 15, 100, 20);
    self.label1.frame = CGRectMake(self.contentView.frame.size.width - 45, 15, 60, 20);
}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
